<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<style>
nav{
    width: 694px;
    height: 50px;
}
nav>a{
    float: left;
    width: 98px;
    height: 48px;
    border: 1px solid gold;
    color: pink;
   
    text-align: center;
    line-height: 48px;
    margin-left: -1px;
    text-decoration: none;
}
nav a:hover {
    color: #ffffff;
    background-color: gold;
}
</style>

<body>
    <nav>
        <a href="#">首页</a>
        <a href="#">公司简介</a>
        <a href="#">解决方案</a>
        <a href="#">公司新闻</a>
        <a href="#">行业动态</a>
        <a href="#">招贤纳才</a>
        <a href="#">联系我们</a>

    </nav>
</body>

</html>